package com.example.wanxiang.repository;

import com.example.wanxiang.entity.Invite;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface InviteRepository extends JpaRepository<Invite,Long> {
    Invite findByCode (String code);
}
